package com.cn.hnust.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.hnust.pojo.Lfdshop;

public interface ILfdshopService {
    int deleteByPrimaryKey(Integer id);

    int insert(Lfdshop record);

    int insertSelective(Lfdshop record);

    Lfdshop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Lfdshop record);

    int updateByPrimaryKey(Lfdshop record);
    
    List<Lfdshop> selectLfdshop();
    
    Lfdshop selectLfdshopByNamePwd(@Param("name")String name,@Param("pwd")String pwd);
    
    List<Lfdshop> selectLfdshopByName(String name);

    Lfdshop selectLfdshopByOpenid(String openid);
}
